Masteriyo\Checkout D

Total Complexity 155
Dependencies 11
Dependents 2
Total lines 1,220
Lines of code 600
Logical lines of code 319
Comment lines 463
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
validate_posted_data()
C
31 29 107
process_checkout()
B
37 16 74
get_posted_data()
A
45 15 39
maybe_skip_field()
A
48 15 30
process_user()
A
48 14 28
create_order()
A
42 12 49
upload_attachment()
A
46 9 36
get_checkout_fields()
S
44 4 48
create_order_course_items()
S
48 5 32
create_user()
S
49 5 32
validate_checkout()
S
56 6 17
process_order_payment()
S
55 5 18
set_user_address_fields()
S
62 5 10
send_ajax_failure_response()
S
59 3 14
process_order_without_payment()
S
58 2 16
get_value()
S
63 3 10
update_session()
S
63 1 11
check_cart_items()
S
81 1 3
init_hooks()
S
78 1 3
set_data_from_cart()
S
72 1 5
is_registration_required()
S
79 1 3
billing_form()
S
66 1 10
__construct()
S
74 1 5